﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ext.Net;

namespace crm.aplicacao.CRMSystem.Usuarios
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                this.strUsuarios.DataSource = new object[]
                {
                    new object[] { "PC1","0000","CP"},
                    new object[] { "PC2","0000","LO"},
                    new object[] { "PC3","0000","MA"}
                    
                };

                this.strUsuarios.DataBind();
            }
        }
        [DirectMethod]
        public void limparCampo()
        {
            this.txtNomeUsuarios.Text = "";
            this.txtEmailUsuarios.Text = "";
            this.txtTelefoneUsuarios.Text = "";
            this.txtCpfUsuarios.Text = "";
            this.txtRgUsuarios.Text = "";
            this.txtSenhaUsuario.Text = "";
            this.txtConfirmaSenhaUsuario.Text = "";


            
        }
    }
}